//
//  EWmapLine.h
//  mkMapTest0
//
//  Created by 鱼 bin on 12-6-7.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MKPolylineView.h>


@interface UIColor(UIColorExtend)

-(unsigned int)colorToUint;
+(UIColor*)uintToColor:(unsigned int)_data;

@end




@interface EWmapLine :NSObject <MKOverlay>{

	UIColor* color;

}

@property (nonatomic, assign) UIColor* color;

@property (nonatomic, retain) MKPolyline* polyline;

+(UIColor*)getUIColorWithStr:(NSString*)colorStr;


+ (EWmapLine *)maplineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;

@end